package com.alibaba.modle.order;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author: TongRui乀
 * @Date: 2021/8/22 10:32
 * @description：
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@Builder
public class Order implements Serializable {

    private Long id;

    private String order_num;

    private Integer sku_id;

    private Integer spu_id;
    /**
     *  单价
     */
    private BigDecimal price;
    /**
     *  折扣价
     */
    private BigDecimal discountPrice;
    /**
     *  个数
     */
    private Integer nums;

    private Short status;

    private LocalDateTime payTime;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
